package ioc02.dao.impl;

import ioc02.dao.UserDao;
import ioc02.entity.User;

/**
 * Author：汤小洋
 * Date：2023-12-13 11:15
 * Description：<描述>
 */
public class UserDaoImpl implements UserDao {
    @Override
    public User selectByUsernameAndPassword(String username, String password) {
        System.out.println("连接数据库，查询用户信息。。。。。。。。。。。。。");

        User user = new User();
        user.setUsername(username);
        user.setPassword(password);
        return user;
    }
}
